package com.alks.function.data.dto.finance.ryfinance;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author MS
 * @since 2024/5/28下午3:52
 */
@Data
public class ApAmtHeadDto {

    private String companyId;

    @ApiModelProperty(value = "单据号码")
    private String slipNo;

    @DateTimeFormat("yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "结算日期")
    private LocalDateTime slipDate;

    @ApiModelProperty(value = "厂商ID")
    private String vendorNo;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "结算月份")
    private String financeYymm;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @NumberFormat
    @ApiModelProperty(value = "金额")
    private BigDecimal amt;

    @ApiModelProperty(value = "检核标志位")
    private String cfmFlag;

    @ApiModelProperty(value = "付款标志位")
    private String fkFlag;

    @ApiModelProperty(value = "仓管员")
    private String sysUser;

}
